using System;

namespace eduSrc.Models
{
    [Serializable]
    public class VoteItem
    {
        #region Private Fields

        private int _id = 0;
        private int _voteID = 0;
        private String _itemName = String.Empty;
        private int _hits = 0;
        private DateTime _recordDate = DateTime.Now;

        #endregion 

        #region Properties

        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }

        public int VoteID
        {
            set { _voteID = value; }
            get { return _voteID; }
        }

        public String ItemName
        {
            set { _itemName = value; }
            get { return _itemName; }
        }

        public int Hits
        {
            set { _hits = value; }
            get { return _hits; }
        }

        public DateTime RecordDate
        {
            set { _recordDate = value; }
            get { return _recordDate; }
        }

        #endregion
    }
}
